package com.example;

import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @description: spring-batch 批处理
 * @author: yh
 * @date: 2022/9/25
 */
@SpringBootApplication
@EnableBatchProcessing //开启Spring Batch批处理功能
public class SpringBatchApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringBatchApplication.class, args);
    }
}
